Mapfile reading added