Added function for reading File