Fix file not found on read, issue 359