public static void Serialize <T>(string binaryFilePath, T value, bool overwrite = true)
 {
     using (var fileStream = FileStreamHelper.NewWrite(binaryFilePath, overwrite))
     {
         BinaryStreamSerializer.Serialize(fileStream, value);
     }
 }
 public static T Deserialize <T>(string binaryFilePath)
 {
     using (var fileStream = FileStreamHelper.NewRead(binaryFilePath))
     {
         var output = BinaryStreamSerializer.Deserialize <T>(fileStream);
         return(output);
     }
 }