protected boolean isFileExist(String logName){
  String fullPath=debugDirectory + File.separator + logName;
  File f=new File(fullPath);
  return f.exists() && !f.isDirectory();
}

protected boolean isFileExist ( String logName ) { String fullPath = debugDirectory + File . separator + logName ; File f = new File ( fullPath ) ; return f . exists ( ) && ! f . isDirectory ( ) ; }
check if a file exist
