def filename():
 fname = u''
 for __ in xrange(random.randint(10, 30)):
  fname += random.choice(NAME_CHARS_W_UNICODE)
 fname += random.choice(('.jpg', '.pdf', '.png', '.txt'))
 return fname

def filename ( ) : fname = u'' for __ in xrange ( random . randint ( 10 , 30 ) ) : fname += random . choice ( NAME_CHARS_W_UNICODE ) fname += random . choice ( ( '.jpg' , '.pdf' , '.png' , '.txt' ) ) return fname
return the name of the file currently being read .