Added call to temp file entry to manage temp files in derivatives.