Cleans up files.