Write example back to a file
Newlines at end
Ignore compiled executable
Ignore generated file