Minor change in variable usage, use directoryInfo.FullName instead of input parameter