Fixed file path bug in extractor.py where file names that are all digits were treated as integers rather than strings