Ability to validate by text or by file upload, fixes #24

@pmclanahan or @ossreleasefeed r?