Calculating Flotation and file structure