Modified parse.py to accept folder name