Fix file path read error