modify extract_utils.py to conform to the new file structure