public static boolean delete(final File file) {
        final boolean success = file.delete() || !file.exists();
        if (!success) {
            Log.w("Could not delete " + file.getAbsolutePath());
        }
        return success;
    }
Deletes a file and logs deletion failures.

@return {@code true} if this file was deleted, {@code false} otherwise.
main/src/main/java/cgeo/geocaching/utils/FileUtils.java