def writeFileMessageEnd(end, fileName, fileText, message):
 suffixFileName = (getUntilDot(fileName) + end)
 writeFileText(suffixFileName, fileText)
 print (message + getSummarizedFileName(suffixFileName))

def writeFileMessageEnd ( end , fileName , fileText , message ) : suffixFileName = ( getUntilDot ( fileName ) + end ) writeFileText ( suffixFileName , fileText ) print ( message + getSummarizedFileName ( suffixFileName ) )
write to a filename with a suffix and print a message .