only add md5 file after adding to db