replacing os.PathSeparator whith path.Join