in reply to grabbing text

INPUT TYPE=file is not a text box at all. Sure it SHOWS a text box, but the contents of the text box are not what's passed to the CGI. The FILE with the name listed in the text box is sent. If all you're trying to do is deal with a file name, but not the file itself, you're using the wrong tool.