Determination of the penetration depth of type II superconducting films