Fix bug: files in sub-folders cannot be accessed