public static boolean isFileExist(String filePath){
  if (StringUtils.isBlank(filePath)) {
    return false;
  }
  File file=new File(filePath);
  return (file.exists() && file.isFile());
}

public static boolean isFileExist ( String filePath ) { if ( StringUtils . isBlank ( filePath ) ) { return false ; } File file = new File ( filePath ) ; return ( file . exists ( ) && file . isFile ( ) ) ; }
indicates if this file represents a file on the underlying file system .
