SWC-1930: set filehandle name, and validate