File cleanup consideration re #10107

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>