Change logging to read file from input stream

because one-jar prevents class loader from loading outside the jar-file