only need 16 bytes to find key
open output file after check for key finding