we don't need this now but it might be useful to accept blobs here instead of paths ( but convert paths into blobs if one is given )