changed makeInputFile to download ontology to a file