Hi,
if i understand you need correctly, you would like to add name of the user to created File name? If that is the case then it can be hardcoded using HAL functionality.
Same solution can be for second part, changing extensions txt to some other extension.
Without HAL both options can be done manually...