a method is disclosed for decompressing in - place an adjusted monotone compressed file having a first portion containing compression codewords and a second portion containing plain text , into a decompressed file having a size and containing plain text . the method comprising the following steps . first , a memory buffer is allocated having the size of the decompressed file . then the adjusted monotone compressed file is stored in the bottom of the buffer . finally , the compression codewords in the first portion of the adjusted monotone compressed file are decompressed to produce plain text of a corresponding portion of the decompressed file in the top of the buffer . a method is also disclosed for compressing a source file into an adjusted monotone compressed file . the method comprises the following steps . first , the source file is monotone compressed into a compressed file containing compression codewords . then the compressed file is adjusted to produce an adjusted monotone compressed file having a first portion containing compression codewords and a second portion containing plain text .