old_contents: #!/usr/bin/python
  # -*- coding: utf-8 -*-
  import os
  import sys
  import platform
  import codecs
  
  RootPath = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))).rstrip(os.sep) + os.sep
  EmeraldPath = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))).rstrip(os.sep) + os.sep
  OS = platform.system().lower()  # darwin (=osx) - windows - linux
  
  class OperatingSystem():
      Linux = "linux"
      Windows = "windows"
      OSX = "darwin"
  
  def ReadDataFile(foldername, filename, utf8=True):
      script_dir = EmeraldPath + "Data" + os.sep + foldername + os.sep + filename
      if utf8:
  	    return [line.rstrip('\n').rstrip('\r') for line in codecs.open(script_dir, encoding='utf-8')]
  	else:
  	    return [line.rstrip('\n').rstrip('\r') for line in open(script_dir)]
  
new_contents: #!/usr/bin/python
  # -*- coding: utf-8 -*-
  import os
  import sys
  import platform
  import codecs
  
  RootPath = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))).rstrip(os.sep) + os.sep
  EmeraldPath = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))).rstrip(os.sep) + os.sep
  OS = platform.system().lower()  # darwin (=osx) - windows - linux
  
  class OperatingSystem():
      Linux = "linux"
      Windows = "windows"
      OSX = "darwin"
  
  def ReadDataFile(foldername, filename, utf8=True):
      script_dir = EmeraldPath + "Data" + os.sep + foldername + os.sep + filename
      if utf8:
          return [line.rstrip('\n').rstrip('\r') for line in codecs.open(script_dir, encoding='utf-8')]
      else:
          return [line.rstrip('\n').rstrip('\r') for line in open(script_dir)]
  
subject: fix tabs bug