logging in check_filename_from_csv.py improved