made filenames into a list