It was changed for better variant support. The method's file name parameter does not have to correspond with the real file name. The file name could be fake or you can use the the field name to evaluate - but depending on the form control used, the GUID may be returned. So, you can create a custom transormation method which will take the GUID and check the attachment name using the API.