How to preserve the state of a VirtualFile that does not physically exists in the FileSystem

Is it related to this topic? What task are you trying to solve?