adding code to retrive per sample fasta

Not sure if that makes sense in this context as basically the file is already open and we are only "parsing" its content.