#NEWLINE# def recursively_create_file( settings , path ) : #NEWLINE# #INDENT# path = path . split ( '/' ) #NEWLINE# final = path . pop ( ( - 1 ) ) #NEWLINE# current = settings . get_root ( ) #NEWLINE# for subpath in path : #NEWLINE# #INDENT# current = current . append_folder ( subpath ) #NEWLINE# #UNINDENT# return current . append_file ( final )