test file extension