def METHOD_NAME(filename):
    """Generate a QA_Frame object from a data file
    """
    from desispec.qa.qa_frame import QA_Frame
    #- check if filename is (night, expid, camera) tuple instead
    if not isinstance(filename, str):
        night, expid, camera = filename
        filename = findfile('qa', night, expid, camera)
    # Read
    filename = checkgzip(filename)
    qa_data = read_qa_data(filename)
    # Instantiate
    qaframe = QA_Frame(qa_data)
    return qaframe