Added filetype check for settings import

Fixes Issue #1526. All this does is check the file extension... seems there should be a more accurate way to determine filetype, but I can't think of one.