implemented a read from file option for uct-statfiles