Tensorflow output file limit?

In the tensorflow component, you can generate output files using file_out option. Is there any easy way to limit the number of files it generates? So you can set it to “keep last 5” or “keep for 24h” or something? I can write an automation to do so, but it’d be nice if there was an option somewhere that did it automatically.