Reads a firmware file into a dequeue for processing.

    :param file_path: Path to the firmware file
    :type file_path: string

    :returns: deque

def read_firmware_file(file_path):
    """
    Reads a firmware file into a dequeue for processing.

    :param file_path: Path to the firmware file
    :type file_path: string

    :returns: deque
    """
    data_queue = deque()

    with open(file_path) as firmware_handle:
        for line in firmware_handle:
            line = line.rstrip()
            if line != '' and line[0] == ':':
                data_queue.append(line + "\r")

    return data_queue