fixed pointer to string for sim files
write file now reduces absolute paths
read simulation now converts relative paths to absolute ones