add read from FILE mode. update README