String amount = getCondition().trim().toLowerCase(Locale.US);
if (amount.endsWith("k")) {
amount = amount.substring(0, amount.length() - 1);
cutoff = Integer.parseInt(amount) * 1024;
} else if (amount.endsWith("m")) {
amount = amount.substring(0, amount.length() - 1);
cutoff = Integer.parseInt(amount) * 1024 * 1024;
} else {
cutoff = Integer.parseInt(amount);
}