added console log for data files