prep for file plugin
basic file writing