Renaming and writing aspect out to a file