Works for subdirectotories, but naive
Merge pull request #44 from Folashade/sri

Works for subdirectotories, but naive