implement NewFileStore and ReadDir