updated extraction.py to accept datafile name
Revert "updated extraction.py to accept datafile name"

This reverts commit 6fc36ad633ed93dfab826140d1704ac72ab4dc69.
updated extraction.py to accept data file