Test archiving to and from a file