changed lcs naive file