Added NormalizePath method