user input

removed useless print and set filename variable to user defined
argument.