'starttime' 'endtime' and 'filename' will be entered by the user who is running the script.
So the program should ask the user for starttime, endtime and the filename and it runs the command line in the above mentioned format.
Hope i helped in clarifying my query.
Cheers