def demand_confirmation(size, url, file_path):
    """Ask for user input before downloading a file.
    
    Parameters
    ----------
    size: str
        The size of the file about to be downloaded.
    url: str
        URL from which we download resources
    file_path: str
        The path to which the file will be written.
    
    Returns
    -------
    bool:
        Whether or not the user confirmed download
    """
    user_confirm = input('This script will download temporary resources files' \
                 '({}) from {} and place them in {}.'.format(size, url, file_path) \
                 + '\nYou can delete them afterwards. \n' \
                 'Shall we proceed? y(es)/n(o) (defaults to yes)\n>')
    if user_confirm.lower() in ['yes', 'y', '']:
        return True
    return False