Class on file handling and float