vertx / io.vertx.reactivex.core.file / FileSystem / readFile

# readFile

`open fun readFile(path: String, handler: Handler<AsyncResult<Buffer>>): FileSystem`

Reads the entire file as represented by the path `path` as a , asynchronously.

Do not use this method to read very large files or you risk running out of available RAM.

### Parameters

`path` - path to the file

`handler` - the handler that will be called on completion

Return
a reference to this, so the API can be used fluently