bool FileIsLicensedAlready(IFile file) { string header = file.RetrieveHeader(); if (header == null) { return false; } return header.Contains("GNU General Public License"); }