Command-line part of XML import support. Meant only for testing.
Removed log statements.