added reading info from file