Write basic files