reads from file now