now reads doubles from the file