File previewer - cleanup