Use the original filename to generate temp files