added comments to parsing files