fixed base_file names in appending to the root file