made filenames a command line argument