Remember the root_dir used when creating the file