python connector input file