fixing li_geofiles function