Cleans up file structure.