modify readfile

Signed-off-by: liushuxin <linux.book.heart@gmail.com>