improved systemFromFile with floating point constants