Set current file and time in new file after flatten occurs