A box that writes to a file when dropped