Support for returning file handles.