Reflect selection when adding a new file