add support for command line file