Optimized filling of shared files (local and remote).
Added cache to RemoteDirModel.