add Path.access()
adapting joseph's code(#98) to new access()