public override bool Exists(string fileName, string key)
 {
     if (RunInMemory[key])
     {
         return(InMemoryFileSystem.ContainsKey(fileName));
     }
     return(File.Exists(fileName));
 }
        public override string ReadAllText(string fileName, string key)
        {
            if (!RunInMemory[key])
            {
                if (!File.Exists(fileName))
                {
                    File.Create(fileName).Dispose();
                }
                return(File.ReadAllText(fileName));
            }

            if (!InMemoryFileSystem.ContainsKey(fileName))
            {
                return("");
            }

            return(InMemoryFileSystem[fileName]);
        }