Use Filter Each() to filter the result from Files In Directory()
Names Default To Here(1);
file_in_dir = Filter Each({filename}, Files In Directory("$HOME"),
!IsMissing(Regex(filename, "^.+\..+$")) // some pattern here
);
You could also use Multiple File Import but it is a bit more complicated Directory Tree: Explore Space Used by Folders
-Jarmo