Modify 'output_filename' string output
Get vector text elements by reading selectively from 'grids' file
Get vector text indices containing short names of grids
Combine short grid name with longer 'output_filename' string
Write grid blocks to 'CONTROL'
Remove obsolete code from script