ECMS-5027 return file thumbnail when possible