Method and device for separating hydrocarbons and contaminants with a spray assembly