Using List.collect to get all files under one directory.