Normalized the path for files.