dir by func zip