Update ls command.

So that files that do not have a .md file extension or do not follow the
chapter naming convention are not listed.