Fix #23 issue. Skip checking file extension

#23