Bugfix: pick up the newest file from file list