結果 : check if file exists and is not empty python