Parameterize next-text file

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>