added file descriptor look up function