write a signature file when plug in USB flash drive