Add galaxy information to the file