ft detection for gemrc files (wow, really?)