Check file and string property re #8546

At least one of these two properties must be set.

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