scaffolding.py parse the text file