Housekeeping on files.