returning of file handles