added folder parsing