Reading from file and then print in console