Fixed path issue

Fixed path issue when specifying path on read, write, get, and set
functions