Format and remove unneeded file