don't generate previews of empty txt files