Look for "export_config.txt" in directory of current blend, then return file content as a string
def outputDir(): p = os.path.dirname(bpy.data.filepath) p = os.path.join(p,"export_config.txt") p = open(p,'r').read() return p;