Need curproc to free file handles.