file formats made for commercial proprietary software are sometimes a secret, so that people who do not work in the company which made the proprietary software cannot use their own and others' files in the format without buying their software. that action is called vendor lock-in, and can be used to make a monopoly. because of that, it is sometimes a crime.