Fix loadfile_cmd
Flush input at the driver level
Rewrite `load_from`, print progress.