Reworking file contents