reads floats from files