I was told that macros are sandboxed, and don't have access to the file system.
See: Use LLDB to debug a Swift macro?