@Tana20 - Glad it helped you. Did you already ran this against your 20K rows file?
I had 36K rows file, Filter table taking close 10-15 mins to run(along with the other activities)..Later I changed it to LINQ (after learning thru Forum) my job ran in less than 2 mins.
You refer this post for future filtering queries..