Additional code to generate radical file and radical data