Added intermediary functions HashString and HashFile.