start to test file i/o methods