do not include directories the opened files
do not copy twice a file in the archive