Remove directory creating function in local file system