Fix file input