It is interesting to explore Qt objects.
But because Qt4 objects are dated and it is difficult to hunt down the documentation I have started embedding python scripts into Top bar > Script > Resources. I can then use Command object to run python scripts almost as plugins. I pass variables between Python and Actiona through text file, read as variable by Actiona.
Actiona then becomes a container for such embedded resources .. scripts.
Your File.exists() task can then be scripted in Python code.
https://stackoverflow.com/questions/828 ... exceptions
This is a longer route than writing in Code but Python is well documented.
I have found other interesting cases for this hybrid approach. One such case is using Actiona to build connectors in a microservice architecture. I will write this up later in Ideas since it seems important to share.