change DS to DIRECTORY_SEPARATOR