change controller to use compressed file format