我不断收到ValueError:int()的无效文字,基数为10:错误。由于某种原因in无法将字符串转换为int

FILE_NAME = 'last_seen.txt'
def read_last_seen(FILE_NAME):
    file_read = open(FILE_NAME, 'r')
    last_seen_id = int(file_read.read().strip())
    file_read.close()
    return last_seen_id
id = read_last_seen(FILE_NAME)
print(id)

它说在第20行有错误。我正在尝试编写有关twitter提及的代码,该代码由数字id标识。但是,我一直收到此错误。