file reading works now.