改善file_name获取规则.

Signed-off-by: Jack <jack.wgm@gmail.com>