Cleaning up file structures