結果 : python check if filename is valid