Handle list and lastest with single file