public static boolean isEmpty(String path)
    {
	if(Common.isFile(path))
	{
	    try
	    {
		FileInputStream stream = new FileInputStream(new File(path));  
		int b = stream.read(); 

		if (b == -1)  
		{  
		    stream.close();
		    return true;
		}

		stream.close();
		return false;
	    }
	    catch(IOException e){return false;}
	}
	else{return true;}
    }