@staticmethod
def chunks(file_names, threads):
    """
        Given a list of file names a number of threads, this method returns a list containing file names.
        The len(chunks) == threads so we can use each item in the list for a single process.
        """
    chunks = []
    for i in range(0, len(file_names), threads):
        chunks.append(file_names[i:i + threads])
    return chunks
