結果 : if file is not empty python