added swap files check