added hash file generator

Change-Id: Ib05e1d4a12458d125af4724130e68551b1071712
added debug flag to md5 hash file generator

Change-Id: Id9ffde6fea7402cf9d1108623c668a6a0d99f90e