Programming Script Example for Rates Upload

Hello Team
Have anyone used an import script with Yeti?

Can you please share a sample script and briefly explain how it was used?
Aside from importing activities, is there any other uses of a script?

I will try to find example but actually only one thing script have to do - read original uploaded file and return data(to stdout) in proper format. So it designed to reformat uploaded file, for example split comma separated prefixes like 123,321 to two rows.

Script will be called as:

/path/to/script <path to uploaded file> <uploaded file name>