check file extension of order import function