title: OSError: [Errno 22] Invalid argument: 'character.txt'
body: <p>I seem to be getting this odd error, <code>Errno 22] Invalid argument: 'character.txt'</code>.  How would I fix this?</p>
  
  <pre><code>#!/usr/bin/python
  #coding:utf-8
  import re
  import os.path
  def gci(rootdir):
  for parent,dirnames,filenames in os.walk(rootdir):
      for filename in filenames:
          text=os.path.join(parent,filename)
          split_to_character(text)
  </code></pre>