why replacing the path separators ?