refactor file path.