cFile::FileReady expects a valid file descriptor