translate part of file.