Fixing file routing