def offset_to_column_line(text, offset):
    """Convert an offset in a file to (row, column) coordinates"""
    if offset > len(text):
        return False
    lines = text.split('\n')
    row = 0
    column = offset
    for line_number in range(0, len(lines)):
        line_length = len(lines[line_number])
        if column < line_length:
            row = line_number
            break
        column -= line_length + 1
    return row + 1, column + 1
