Null pointer exception fix

Now handles result files without content, usually based on aborted tests that stopped responding.