Split _check_preconditions_on into _check_file_length and _check_file_md5sum.
they are better function names IMO.