Both verify-golint.sh and verify-shellcheck.sh have the same logic which checks failure_file in alphabetical order. In addition, we'd like to add another script which requires the same logic. So this add a common function for cleanup.