Some companies have security in place such as firewalls that prevents sending certain types of attachments. For example, sending a .js file is potentially dangerous because it can run scripts. Also, some documents can carry viruses through macros or other methods. Sending attachments to some email addresses are not possible. However, text files are usually permitted. Here are some sentences that you might find useful.