Might make sense to remove `to category` so it only reads `path to the mapping file`.