結果 : check if open file is empty python