Allow filenames to be passed as arguments