Related resources for tempfile function