File reading/cleaning