Method $response.file() writes the specified file into the body stream in a efficient way.
$response.file()
$response.file(filePath)
Path to file (string)
$response.file('./sample.txt')