Close files after using them.