more progress on filesystem api.