added filename input from command line