change kmeans file to samples file