Fix file route calls