Share open files in memory:

Reads must see writes even if the file was not closed yet. Also, this
burns less memory when files are opened multiple times.