test remaing file and folder