Prefer using utility method (ie. apache commons, guava's Resources class, etc.) to fetch the content into String.