     handle_file_click : ->
         if @props.file_search.length == 0
             @props.actions.set_focused_page('project-new-file')
+        else if @props.file_search?[@props.file_search.length - 1] == '/'
+            @props.create_folder()
         else
             @props.create_file()
 

        if @props.file_search.length == 0
            # Tell state to render an error in file search
            @props.actions.setState(create_file_alert : true)
        else
            @props.create_file(ext)


    handle_click : ->
        if not @props.file_search?.length > 0
            @props.actions.set_focused_page('project-new-file')
        else if @props.file_search?[@props.file_search.length - 1] == '/'
            @props.create_folder()
        else
            @props.create_file()

