Returns the first line of input stream
fun InputStream.head(): String?
Redirect this input stream to the specified file
fun InputStream.redirect(file: File): Long