Addressed issues from review.

- Brought some variables out of if/else scopes.
- Method signature for delimitValuesWithTabs now takes only string arguments.