Added the "accept" option to the selectFile method.

This allows us to filter user selection ability by desired file type.