set default to the base file name if rotateFile.path is missing