Change extension property to fileExtension since extension is a reserved keyword in Swift