Cleaning up formatting for faction files.