Restore file extension and license info