結果 : check if file is empty python pathlib