When run with no arguments, this creates a txt file.