Constructs a new prompter with the given file source from where the input is to be read from.
the File to read from
if set to true then on destruction we will close the source, if false it is left untouched
Exception if the provided File is not open
See Implementation
Constructs a new prompter with the given file source from where the input is to be read from.