redirect stderr
more explanation
sanity check in date
sanity check in date
checking if file to process still exists
major bugs fixed at startup, ensure_index() before data is fed in (bug in mongodb-perl driver)