   I got the good quality genome IDs for 54000 genomes like below:

    #genome
    G001281285
    G000014725
    G000775715
    G000254175
    G001380675
    G900057405
    G001076295

and I also got all 74000 genome sequence files compressed in fna folder like below

    cd fna/
    
    G001284865.fna.bz2  G002910165.fna.bz2  G009390615.fna.bz2
    G001284885.fna.bz2  G002910195.fna.bz2  G009390655.fna.bz2

Now could you please help how I can extract the 54000 genome sequence files based on above genome IDs from fna/ folder? 
    for i in $(cat list.txt); do mv "$i".fna.bz2 fna/filtered/; done


Where list.txt is your list of high quality genomes and filtered/ is a new directory.