I realize that this generally isn't the case in most projects, but I accidentally made it happen with a project I'm working on where I created a folder called LICENSE instead of a file and didn't realize it. When I tried to run the write-licenses build target it failed due to not being about to "read" the directory.