fixing file format