filetype for cg now works automatically