Validate API examples. Rename files

Found and fixed the problem, thanks!