public String readFile()
	{
		StringBuffer sb = new StringBuffer();
		try
		{
			String str;
			while((str = x.readLine())!= null)
			{
				sb.append(str);
				sb.append("\n");
			}
		}
		catch(Exception e)
		{
			System.out.println("Error reading the file");
		}
		return sb.toString();
	}