Added file_write().

Added funcitno that either writes clean lines to a new file or overwrites the original file.