are we getting the right file descriptors