[FileManager]: use a common table for both dirs and files