Sorry if I confused you.
May be I didn't put in the question correct.
here, prefix is file and suffix is .ext
I needed my adapter to match and pick all the files with names starting with the prefix(in this case 'file') but it should not pick the files with name ending with suffix. (in this case, .ext).
If I'm still confusing you, sorry...