ED: Pass temp file handle instead of return value of another function.