Write a new copy of file for every version