full example of downloading file, parsing, and running a query