improved file outputs into dumps and raws

raws now have IDs accosciated with the file name