static File lcCompressFilePart_upper(File file, long startIndex, int length, O... _) { optPar bool balancing = true; optPar bool verbose; print("Compressing " + file); new LineCompCompressor compressor; compressor.byteMode = true; compressor.toUpper = true; if (byteMode) print("byte mode"); if (toUpper) print("toUpper mode"); compressor.verboseCompressionSteps = print(+verbose); compressor.balancing = true; if (compressor.balancing) print("balancing mode"); compressor.verify = false; compressor.verboseStats = true; compressor.loadTexts(litmap(str(startIndex) := loadTextFilePart_rawBytes(file, startIndex, startIndex+length)); compressor.run(); File archiveFile = appendToFileName(file, ".ubc"); lcSaveToFile(compressor, archiveFile); ret archiveFile; }