support fully file caching
fixed path bugs