Move closing pool closer to where it finishes
Remove unneeded variable in fileparser