Remove redundant normalizePath function