Groovy version of the importer.rb script from p243 of Seven Databases in Seven Weeks