public static boolean locationFileExists(){
  return LOCATION_FILE.exists();
}

public static boolean locationFileExists ( ) { return LOCATION_FILE . exists ( ) ; }
checks if the location file exists .
