added some code to loader file to get it to load file without filename provided
cli is working