CONTROL OF THE CRITICAL CURRENT DENSITY IN YBCO FILMS BY MEANS OF INTERGRAIN AND INTRAGRAIN IN CORRELATED DEFECTS