Beyond validation, this serves a purpose. My Android tablet has ctrl (yay!) but no Esc X-( So hitting enter might be the most natural way to cancel.
KAT5YGM6WUSRNXPTU56RP423SCHOZYNGYBY53LMJD5M5EAJHY54AC
NOMLSMKK3XOFEG74ITJRBTCZGS3XETGIFV4UJOJIPS324BC3IF7QC
KKMFQDR43ZWVCDRHQLWWX3FCWCFA3ZSXYOBRJNPHUQZR2XPKWULAC
end -- handle people hitting enter without a filename if filename == '' then return
end
-- handle people hitting enter without a filename
if filename == '' then
return