Spatial variation of the critical current density of the high Tc superconducting thin films