LPS-51616 Delete preview/thumbnail files when approprate