removed obsolete global file descriptor variable