On the mechanism responsible for the value of critical current in c-axis-oriented YBa2Cu3O7−x films