Partial fix for linked folders

* finding the resource corresponding to a file name looks like a huge
pain - i'm not sure how we'll be able to do it efficiently