Fixed caching bug where files with same name but with diffirent directories were identified as same file