private static FileSystemMetadata CreateFileMetadata(MetadataResult metadata)
 {
     return new FileSystemMetadata
     {
         FullName = metadata.path,
         IsDirectory = metadata.is_dir,
         //MimeType = metadata.mime_type,
         Name = metadata.path.Split('/').Last()
     };
 }
 private static FileMetadata CreateFileMetadata(MetadataResult metadata)
 {
     return new FileMetadata
     {
         Id = metadata.path,
         IsFolder = metadata.is_dir,
         MimeType = metadata.mime_type,
         Name = metadata.path.Split('/').Last()
     };
 }