read.merlin.files function

function to read input files in Merlin format