support pattern in file to be in Fasta format