You can use readline() to get completion on filenames.
However, I would want to complete commands, program options and files associated with the program (by instance, by extension)
It would be a lot better if I could simply let bash to handle the input operation and get that result.