Bulk write method wasn't a brilliant idea. Removed!

The write method now handles the case where a new file needs to be
created.
Add frequency attribute to examples.