Effects of constraint on the oscillatory pattern of endosonic files