Add more 2 methods to FileManager, isDirectoryExists and createDirectory.