support for filenames preprocessing