Replacing the outputted filename to shorter names.