added check on parameters file