write markup to file system