File IO and Linear Regression