Fix file data pointer