@staticmethod
def add_to_queue_file(root_name, file_name):
    """
        Add item to queue_file.

        Arguments:
        root_name - Name to add
        file_name - File to append to

        Return:
        Name removed from the queue.
        """
    is_present = False
    try:
        with open(file_name, 'r') as read:
            is_present = bool(root_name in read.read())
    except FileNotFoundError:
        pass
    if not is_present:
        with open(file_name, 'a') as append:
            append.write('{0}\n'.format(root_name))
    else:
        pass
