Updating main branch

Creating a pull request for commenting ability
could you extract geoJsonFile.getString("type").trim() as a variable