Added functionality to read from file and store in DB.Small bug in reading from DB, keeps returning first row.