new file : extract.py