Assignment to compress files The file is compressed using an algorithm that compresses repeating characters. The program also keeps track of numbers in files and certain commands.