Dont hash empty files, removed needless newline from logging output