added inputfile to example6