Transmission through a perforated metal film by applying an external magnetic field