make import training more generic (need not have file name)