Removed extra comments, added console output, fixed logic to get ignored list and read data.