Add implementation for purge by path