Read of instance changed from stdin to reading file. This is
in preparation for MPI support, that does not support input
redirection to all nodes.