-fixed storing hashName to fileName var and then trying to pull it from hashName