Add option to store output files in specific directory.