adding locs file