Completely fix the bug: files in sub-folders cannot be accessed