No function key, but, there is a formula. It looks like the following, simply
copy and paste it into any cell as is, okay! Here it is:
=MID(CELL("filename",A1),FIND("[",CELL("filename",A1),1)+1,FIND("]",CELL("filename",A1),1)-FIND("[",CELL("filename",A1),1)-1)