Rename isValidPath to isAllowedPath The old method name was misleading. It checked if a path is allowed to be accessed. It didn't check validity of the file at that path. Change-Id: I204523d8d90379dca73b2f54135ed578a17b8235