STORM-80 : Created pathdir using fs instead of exec