updated: json file parse. file extension substring bug fix