import std.file: remove; void main() { remove("data.txt"); }