public virtual FSDirectory GetDirectory(string path)
        {
            FSObject o = GetObject(path);

            if (o is FSDirectory)
            {
                return(o as FSDirectory);
            }
            throw new Exception("DiretoryNotFound");
        }
        public virtual FSFile GetFile(string path)
        {
            FSObject o = GetObject(path);

            if (o is FSFile)
            {
                return(o as FSFile);
            }
            throw new Exception("FileNotFound");
        }