manage the file directory