pyGetFile: simplified output; added output file as test