demonstrates flaw in readdir