add isFile and load global generators helpers