public static String load(String name)
{
File file = new File(name);
String buffer = new String();
if(!file.exists())
{
System.out.println("can't find " + name);
}
try
{
BufferedReader reader = new BufferedReader(new FileReader(file));
String line;
while((line = reader.readLine()) != null)
{
buffer += line;
}
reader.close();
}
catch (IOException e)
{
e.getStackTrace();
}
return buffer;
}