Creating file list for archives