remove accept files & fixed compress for null.

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