Remove random stuff from file