fixed incorrect function call in Directory_Functions