No need to call blackBoxFile() on a useless test data file. Also creating environment logic is simplified