Saving the passed in documents directory to the corresponding ivar.