rewrite files in byblo format