This is an application of the K-means algorithm in a serial and parallel version. The solution is applied to cabinets, and therefore the centroid is a cabinet with documents.