def get_filenames(hda_dict):
    """ 
    Generates a list of filenames taken from the results dictionary, 
    retrieved with the function request_results_list.
    
    Parameters:
        hda_dict: dictionary initied with the function init, that 
                  stores all required information to be able to 
                  interact with the HDA API

    Returns:
        Returns a list of filenames for each entry stored in the 
        dictionary returned by the function request_results_list.
    """
    fileName = []
    for file in hda_dict['results']['content']:
        fileName.append(file['filename'])
    return fileName