結果 : get file type from path python