cleaned up .cgf files