Change format of output file