public virtual T Read(string file)
        {
            var path = File.ReadAllText(Path.Combine(Directory, $"{file}.{FileEnding}"));

            _fileList.Add(GameParser.DeserializeObject <T>(path));
            return(GameParser.DeserializeObject <T>(path));
        }
        public virtual List <T> ReadAll(string file)
        {
            List <T> list = GameParser.DeserializeObjectList <T>(File.ReadAllText(Path.Combine(Directory, $"{file}.{FileEnding}")));

            foreach (T item in list)
            {
                _fileList.Add(item);
            }

            return(list);
        }