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.