The iron filings are dissolved in hydrochloric acid to form ferrous chloride, which is then oxidized to ferric chloride by chlorine gas. The concentrated ferric chloride solution is cooled, and the solution is precipitated out six crystal waters as ferric chloride hexahydrate.