A few options depending on the quality of the data: If the location name field is unique, then you could use "Join attributes by field value", specifying the location field as the field to join, and discarding any that don't match.
If the matching polygons in file_1 and file_2 are identical, then you could use "Join attribute by location" and then geometry predicate "equals" rather than intersect, again discarding those that don't match.
If the polygons don't match exactly: this is where you might need to use your own judgement: If the polygons within each layer are widely spread you could use the "intersect" predicate in join by location instead. You could also use the "intersection" tool to determine overlaps between the two layers and join them based on that, but this may need some extra steps to clean the data.
Some simpler options there, I'm sure someone will come by with a neater solution!