結果 : python pass file handle to function