Basic creating and writing to File implemented