try/catch added in file.cc to try to find source of problem