Deleting unused function "log_error"
Remove unused data_transits variable and finish_import function