Change example to .txt, base directory fix for drag-drop example