utility script to isolate and edit individual files based on slug