Adds getDirectory to Local adapter