Added a getter for parentDir