add randomaccessfile class