CHANGE: convert to a file to calculate compressed size