It's not really provable what software got used to create a file. Well, depends on the file format but like I mentioned you simply could resave everything with legal software to make sure any possible traces are removed.

If you get sued (but why?) the police could theoretically come and check all software you have installed on your computer for valid licenses.