It's possible, but how will your script know which record to use when determining what file to open? Each record can store a different file in that container field unless it is a global field.
Assuming that you want whatever file is stored in the container field of the current record on that layout, you can use this script:
Go to layout [//specify layout with container field]
Go to field [ Select/Perform ; Yourtable::YourContainerField ]
Go to Layout [original layout]