Fixed issues with accessing attributes from the root group
quick fix for backwards compatibitlity of baseReader
made setPath a function