publish: Add script for opening files

generated from commit 2dba5fc12733a7f38fd6cc5c0daa2825653f0279