change file dir && refactor.