Let files() and dirs() accept arrays.