crop filenames