function to return list of files id of the markov folder