Stop assuming that files opened actually get opened.