Delete unneded files from the main directory.