public static boolean fileExist(String path)
	{
		if(isPathValid(path))
		{
			File f = new File(path);

			try
			{
				if(!f.getCanonicalPath().equals(path))
					return false;

				if ( f.exists() && !dirExist(path)  ){return true;}
				else{return false;}
			}
			catch(Exception e){return false;}
		}
		else
			return false;
	}