File <-> file descriptor management