Fixed extension parsing in file lists