#NEWLINE# def _listdir_recursively( rootdir ) : #NEWLINE# #INDENT# file_list = [ ] #NEWLINE# for ( root , dirs , files ) in os . walk ( rootdir ) : #NEWLINE# #INDENT# for filename in files : #NEWLINE# #INDENT# relpath = os . path . relpath ( root , rootdir ) . strip ( '.' ) #NEWLINE# file_list . append ( os . path . join ( relpath , filename ) ) #NEWLINE# #UNINDENT# #UNINDENT# return file_list