functions can be read from bytewrite files