use new global swapfile checker.