Add code to save inputs files to a cache directory

Also add code and option to run arc.pl from those cached files.