accept gender using GENDER env
allow input/output files to be given as array or quoted list
use new variables for input/output files