toUpload

fun Path.toUpload(contentType: String, fileSystem: FileSystem = systemFileSystem): Upload
fun File.toUpload(contentType: String): <Error class: unknown class>