readfile check