Added delete file function to SwapUtil