added support for files as argument list