add realtime to add thumb to files