more logging, db commits after insert batches
added file maxage purge, rethink args