try catch for reading file