shape and format can be specified for each filename
added missing argdict module
multiple output filenames
multiple definitions for all the input/output specifications