preparation for extention to send files out