taking filename for command line