fixing file error