SessionCommand_FileTest: simplified