#NEWLINE# def CreateFile( self , filepath ) : #NEWLINE# #INDENT# path = self . out . Add ( filepath ) #NEWLINE# fd = aff4 . FACTORY . Create ( path , 'VFSMemoryFile' , token = self . token ) #NEWLINE# fd . Write ( 'some data' ) #NEWLINE# fd . Close ( ) #NEWLINE# return path