def get_file_names(in_list):
    """Makes a list of each index[1] in a list of lists

    This method is deployed in the get_medical_image_list route

    :param in_list: list of lists containing patient medical
                    images and file names
    :return: list containing file names
    """

    temp = list()
    for item in in_list:
        temp.append(item[1])
    return temp