def get_filenames_of_set(train_set):
    """
    This function reads the names of the files that we are going to use as our training test
    :param train_set - the file which contains the names of the training set
    :return: content - an array containing the names of each filew
    """
    # read the names of the files that we are going to use as our training test
    with open(train_set) as f:
        content = f.readlines()
    content = [x.strip() for x in content]
    return content