replaced the code for import and filter the data by a much more efficient way.