I dont think the path should be mutable. So instead pass it as constructor argument.