I have thought about this over, so I guess you want duplicate code over refractored out receiveDirectoryStatus correct?

Since receiveDirectoryStatus is used in both createDir and updateStatus right?