@jmarshallnz suggest to check ext name, when copy a sub file, copy idx as well if exist.