added thumbnail file entity stuff