public BulkFile CreateFile(FileDescription fileDescription)
        {
            BulkFile l = new BulkFile();

            l.fileDescription = fileDescription;
            return(l);
        }
 public override void WriteToStream(object instance, Stream stream, HttpRequestMessage request)
 {
     if (instance is Istremable)
     {
         BulkFile bulkFile = (BulkFile)instance;
         bulkFile.stream = stream;
         bulkFile.ProcessStream();
     }
 }