Basic File I/O functions created.