This function depends on the path being a .dat.gz file

extract_path_name(path)

Arguments

path

file path