Use the find module to find the file(s) en register the output in a variable and use the result to change the files.