in reply to Mail script is cutting out data.

You never close FIL. Hence, the last line is still in a buffer cache somewhere when you cat it to mail it. Close the file before you use it from another program.

Abigail