I found it:

=MID(CELL("filename",A1),SEARCH("]",CELL("filename",A1),1)+1,LEN(CELL("filename",A1)))
which I doctored from:

CELL("filename",A1)
which gives you the fullname.