create class DirectoryBrowserReturn and fix bugs in class WriteInFile