generalize rb-files to gg-files