remove irrelevant doc
stat should fail once the file is closed
AddDirInfo for incrementally building the directory file infos
memfs.NewWithFiles to automatically create directories