def parse_file_prediction(file_name):
    """Parses a PRODIGY-CRYSTAL result file (*.out)"""
    with open(file_name) as input_handle:
        for line in input_handle:
            if line.startswith('[+] Class'):
                pclass, p1, p2 = line.split()[2:]
                if pclass == 'XTAL':
                    pclass = 'crystal'
                else:
                    pclass = 'biological'
                return (pclass, p1, p2)
        return None