[files] normalizePath -> isValidPath