The Critical Current Density and the Curvature of the Magnetic Field in Epitaxial YBaCuO Films