added support for file descriptors