Constructor for virtual file objects