I had a look at your code and did a few tests with time on a 20 line file and there wasn't any time difference, the main time waster is actually the request to the HTTP server and getting it's response. Doing the same sort of thing on a file locally I get fantastic response times. Unfortunately the only way I can get the data I need is from the web server, this is why I have been running the process 8 times due to the fact that 8 requests from a local web server is much the same as 1. As such I am trying to eliminate the slow poing of the HTTP get request by processing multiple "GETS" at a time.