#NEWLINE# def make_file( path , content = '' , permissions = None ) : #NEWLINE# #INDENT# "\n    Create a file with given content and permissions.\n\n    Don't use this for sensitive content, as the permissions are applied\n    *after* the data is written to the filesystem.\n\n    :param FilePath path: Path to create the file.\n    :param str content: Content to write to the file. If not specified,\n    :param int permissions: Unix file permissions to be passed to ``chmod``.\n\n    :return: ``path``, unmodified.\n    :rtype: :py:class:`twisted.python.filepath.FilePath`\n    " #NEWLINE# path . setContent ( content ) #NEWLINE# if ( permissions is not None ) : #NEWLINE# #INDENT# path . chmod ( permissions ) #NEWLINE# #UNINDENT# return path