generate input complete

Add download option of input and output files
Update file iface, bug fix