removes redundant file