public FileReference Store(FileStorageArea fileStorageArea, FileReference fileRef)
        {
            using (var stream = fileRef.GetContentStream())
            {
                Guid fileHandle;
                long Size;
                StoreFile(fileRef.Name, fileRef.ContentType, stream, out fileHandle, out Size);

                var fileRef2 = new FileReference(fileStorageArea, fileRef.Name, Size, fileHandle.ToString(), fileRef.ContentType);
                fileRef2.HasThumbnail = fileRef.HasThumbnail;

                return(fileRef2);
            }
        }