Fix file preview