Fixed directory(), Fixed create(), Fixed writeDescriptor()