# File sprout/lib/sprout/tasks/tool_task.rb, line 549
    def text_file?(file_name)
      [/\.as$/, /\.txt$/, /\.mxml$/, /\.xml$/, /\.js$/, /\.html$/, /\.htm$/].select { |regex|
        if(file_name.match(regex))
          return true
        end
      }.size > 0
    end