I am unable to get 'file' #type to appear in my form I am building a custom module where the user needs to upload an image.  Here is the code for my form:

function floor_map_form($form, &amp;$form_state) {
        $form['file'] = array(
            '#type '        =&gt; 'file',
            '#title'        =&gt; t('Choose a file'),
        );
        $form['center'] = array(
            '#type'     =&gt; 'textfield',
            '#title'        =&gt; t('Center'),
            );
        $form['country'] = array(
            '#type'     =&gt; 'textfield',
            '#title'        =&gt; t('Country'),
            );
        $form['region'] = array(
            '#type'     =&gt; 'textfield',
            '#title'        =&gt; t('Region'),
            );
        $form['submit'] = array(
            '#type'     =&gt; 'submit',
            '#value'    =&gt; t('Submit'),
            );

        return $form;
    }


The only thing that shows in the browser are the text fields and submit button, the file upload field is nowhere in the page or html for the page.
Does this look wrong to you:


  '#type '        => 'file',


it's not '#type'