reads from file on initialization