add example to read file
add example to show how to read file with synchronous way