deleting file, adding it again afterwards