Programatically Reading $FILE field

Hi, I am facing one problem that I have $FILE Field in document which consist the Data type as Attached Object and some of other details are Here

$FILE is having these details.

Field Name: $FILE

Data Type: Attached Object

object Type: File

File Name: test.log

I want to read File Name from Object but unable to read even i tried Embeddedobjects method also.

Help to out from this problem

Regards

Kam India