Microsoft interview question

return all files in a directory