Remove hash and add truncate() to file re-saving