read file
try2 for reading from file