This is an example of getting cli input to a file with Java.