Add input files

This code addresses issues #82 and #7 

@rpanah, would you please review this?
This is a nit, but the default is only accepting files that have extensions.