fixing file references