working out _filenames.xml functionality