app.project.item(index).file
Description
The ExtendScript File object for the footage’s source file.
If theFootageItem’smainSource is a FileSource, this is the same as FootageItem.mainSource.file.Otherwise it is null.
Type
File object; read only.