3.6
var d=Directoy.new() if(d.file_exits(“thefilename”)): d.remove(“thefilename”)
It returns status OK, but the file remains. This happens on Linux Mint Cinnamon.