handle multiple filenames