Added ability to enter filename when running application'