edit file dir.