fixing file reference