Add .qca.dat to the input name only if it doesn't end in .dat