move .preview() to fileInfo instead of returninig promise from promise