fixing file chunks