Saves hash values to separate file