training on single file instead of folder