# create output directory before reading the data file (is sometimes required, when relative directories are specified, especially, including a .. somewhere)
# create output directory before reading the data file (is sometimes required, when relative directories are specified, especially, including a .. somewhere)