read file and display on std