toUpload

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