add read file methods