Small change to accept the command line parameter '-rand file'. This