Basic open write close working.