(file_path)
| 48 | |
| 49 | # Get the file extension |
| 50 | def get_ext(file_path): |
| 51 | file_name = os.path.basename(file_path) |
| 52 | file_name, file_ext = os.path.splitext(file_name) |
| 53 | return file_ext |
| 54 | |
| 55 | # Query files for the presence of a valid year in the header |
| 56 | def query_files(files): |