private String ReadFile() { validator = new Validator(); String map; MapHandler mph = new MapHandler(); StringBuilder sb = new StringBuilder(); map = sb.Append(@File.ReadAllText(mapLoc)).ToString(); try { validator.ValidateMap(map); return mph.DecompressMap(map); } catch (InvalidInputError ex) { MessageBox.Show(ex.Message); return ""; } //this.map = sb.Append(@File.ReadAllText(loc)).ToString(); }