Topic/change filename

I have a need to rename a file after another plugin creates it; you've already got 95% of the code to do it :)