Added a function to create a checksum file and edited has_changed() to use it.