Cleans up file structure