removed not reference class. added variable filename when read or write. implement read and write method.