minor improvements to cli interface
file actions
config file can be specified by cli