public static FileRepository Load(Context context, DirRepository folderRepository)
        {
            if (instance == null)
            {
                instance = new FileRepository(context, folderRepository);
            }

            return(instance);
        }
        public static DirRepository Load(Context context)
        {
            if (instance == null)
            {
                instance = new DirRepository(context);
            }

            return(instance);
        }
        private FileRepository(Context context, DirRepository folderRepository)
        {
            this.context = context;
            this.dirRepo = folderRepository;

            foreach (var rootDir in this.dirRepo.GetRootDirs())
            {
                this.LoadFilesForFolder(rootDir);
            }
        }