- return null on empty directory