title: How to Create thumbnail from local files
body: <p>I want to create a thumbnail image for files (word, excel, video ....)
  This what i did:</p>
  <pre><code>import QuickLook
  
  class ThumbsCreator:  NSObject {
  
      private var file : File?
  
      init(file: File?) {
          super.init()
          self.file = file
      }
  
      func createThumb() {
       let url = URL(string: (self.file?.path()))
   }  
  }
  </code></pre>