Use Pathname for File and Dir capabilities