case 'ipfs': {
      const fileIPFS: Ipfs = {
        type: storageType,
        hash: file
      }