Fix directory traversal to import files first, then subdirectories.
Merge pull request #8 from neyasov/master

Fix directory traversal to import files first, then subdirectories.