For point 2, are you referring to conversion task or Monitor location. Because the CLI selection option already exists for conversion tasks and it also has a file filter so I’m not getting what exactly is missing here.
Coming to the variable, there already is a variable for custom scripts which passes the file path.