documentation, declaration and init spec for swapfile