checksum files and more housekeeping