add periodic task of removing expired directories