private static T Deserialize <T>(IFileLocation path) { using (StreamReader reader = path.OpenText()) return(JsonConvert.DeserializeObject <T>(reader.ReadToEnd())); }