Bugfix in validating existence of input files