diff --git a/flawfinder b/flawfinder
index 2f06fbc..7adafde 100755
--- a/flawfinder
+++ b/flawfinder
@@ -2095,7 +2095,7 @@ def show_final_results():
# I'm not using
, because its numbers might be confused with
# the risk levels or line numbers.
if diffhitlist_filename:
- diff_file = open(diffhitlist_filename)
+ diff_file = open(diffhitlist_filename, 'rb')
diff_hitlist = pickle.load(diff_file)
if output_format:
print("