Add opendir case in pathserver