clean preprocessing file - takes very long to run2