added on thumbnails onto files model, db flush required