added file check to StatisticalHypothesis.java