Merge "Close files after reading them"