#NEWLINE# def prepare_file_paths( string , extension ) : #NEWLINE# #INDENT# file_paths = [ ] #NEWLINE# for prefix in string . split ( ',' ) : #NEWLINE# #INDENT# file_path = add_extension ( prefix , prefix ) #NEWLINE# if ( not os . path . exists ( file_path ) ) : #NEWLINE# #INDENT# print_error ( ( "File '%s' does not exist" % file_path ) ) #NEWLINE# return None #NEWLINE# #UNINDENT# file_paths . append ( file_path ) #NEWLINE# #UNINDENT# return file_paths