Paste a screenshot, drag a file onto the box, or use the + menu. A .txt is refused, because the default list is images and PDF.