Use full path to filtered file to avoid overriding existing temp files with the same name