encapsulate making versioned file DOIs
remove debug statement