Read entire input files before making api calls.

Community Data Science Collective || Want to submit a patch?