Finalise setup function
Remove swap file