How to add input file plain text and submit to publish?

How to add input file plain text and submit to publish?