結果 : check if file exists and not empty python