rename files in a directory that match a json key