Controllable unidirectional magnetoresistance in ferromagnetic films with broken symmetry