file:readFloat()
Reads a floating point value from the file.
Returns a number if the file is ok.
local value = file:readFloat()