Utilities for reading in queries in csv form.