             @props.actions.set_file_search
         else if not @props.files_displayed and @props.file_search?.length > 0
             if @props.file_search[@props.file_search.length - 1] == '/'
-                @create_folder()
+                @props.create_folder()
             else
-                @create_file()
+                @props.create_file()
 
     render : ->
         <span>


    render_new_file : ->
        <Col sm=2>
            <ProjectFilesNew file_search={@props.file_search} current_path={@props.current_path} actions={@props.actions} />
        </Col>

    render_activity : ->

        if not @props.file_search?.length > 0
            @props.actions.set_focused_page('project-new-file')
        else
            @props.create_file()

    filename_text : ->
        ext = @ext_defaulter()
