Revert "modified read file"

This reverts commit 0a16c3a29ea5fa9d5ed186fe0920ac9b4c4399d6.