reformat resource file for Chimera