0514 01 writing repmap to file added