Fixing file references