Make tmp file list a dictionary