make the data path if needed.
Terminate properly on KeyboardInterrupt.