src/main/java/com/github/ricksbrown/cowsay/Cowloader.java
private static InputStream getCowFromPath(final String path) {
		String cwd = System.getProperty("user.dir");  // TODO is this really CWD?
		if (cwd != null) {
			File cowfile = new File(cwd, path);
			if (isCowfile(cowfile)) {
				return cowfileToCowInputStream(cowfile);
			}
		}
		// maybe it's an absolute path?
		File cowfile = new File(path);
		if (isCowfile(cowfile)) {
			return cowfileToCowInputStream(cowfile);
		}
		return null;
	}
private static InputStream getCowFromPath(final String path) {
		String cwd = System.getProperty("user.dir");  // TODO is this really CWD?
		if (cwd != null) {
			File cowfile = new File(cwd, path);
			if (isCowfile(cowfile)) {
				return cowfileToCowInputStream(cowfile);
			}
		}
		// maybe it's an absolute path?
		File cowfile = new File(path);
		if (isCowfile(cowfile)) {
			return cowfileToCowInputStream(cowfile);
		}
		return null;
	}
In the case that the cowfileSpec is a filesystem path call this method to attempt to load the cowfile.
It will attempt to load the cowfile relative to CWD and if that fails it will try as an absolute path.
@param path A path to a cowfile either relative to CWD or an absolute path.
@return An InputStream to the cowfile if it exists.