Corrected reading a resource file from the jar