public static boolean canRead(String fileName) {
		if (fileName.equals("-")) return true; // Assume we can always read STDIN

		File inputFile = new File(fileName);
		if (inputFile.exists() && inputFile.canRead() && inputFile.isFile()) return true;

		inputFile = new File(fileName + ".gz");
		if (inputFile.exists() && inputFile.canRead() && inputFile.isFile()) return true;

		return false;
	}