Fix typo in file extension.
Remove unused and unwanted files.
Add and use test file from repo instead.
Clean up and add missing license information.