Only one file is outputted, need no pasting on base filename