extracted TempFileRule