LPS-42347 Minor refactoring - no logic change
LPS-42347 Delete all thumbnails during cleanup
LPS-42347 We don't need to add the type when fileVersionId is not bigger than 0. If we don't add this the thumbnails will remain there even when the document is deleted.
LPS-42347 Consistency
LPS-38425 SF
LPS-42257 SF