Add test for globbing
Use correct path in files writer