Fix file type