parsing the sample folders into files with replicate numbers listed