scanning folders, building links