slurp is not an appropriate name and return type should probably be Array[Byte]