change filenames, and add "id" as an MD field