Fix file model