added check for file overflow in param registry