` - if file.thumbnail ` is adequate here.  Note that calling .content in the case where file.thumbnail returns false/nil (no thumbnail object exists for this record) will cause this page to error out.  

For core records, we can assume that if file.thumbnail returns something, that something does have an appropriately populated and labeled content datastream.