deletes redundant file