FileEntry::IsValid and FileEntry::UID

Hello,

I'd like to have better understanding for FileEntry's UID and IsValid fields.
.. Or there is just a bug in FileManager::getVirtualFile
so blockshould have as the last statement extra line