clean raw data files