#NEWLINE# def filelist( path ) : #NEWLINE# #INDENT# result = [ ] #NEWLINE# for ( dirpath , dirnames , filenames ) in os . walk ( path ) : #NEWLINE# #INDENT# rel = os . path . relpath ( dirpath , path ) #NEWLINE# for filename in filenames : #NEWLINE# #INDENT# result . append ( os . path . join ( rel , filename ) ) #NEWLINE# #UNINDENT# #UNINDENT# return sorted ( result )