Check if the cfgfile path is a file as opposed to just existing