I am unsure of how to create a fixed length .txt file.
You control the number of characters in a record. If you are using dtostrf() to convert the float to a string, you can then pad that string to a consistent number of characters. If you are using File::print() to directly print the float to the file, you'll need to stop doing that.