Longitudinal magnetoresistance of thin metal films