public Task <Result> RenameFile(string directoryPath, string fileName, string newFileName)
        {
            if (directoryPath == null || fileName == null || newFileName == null)
            {
                return(Task.FromResult(Result.Failure(Constants.FileErrorKey, "Invalid file.")));
            }

            return(Task.FromResult(_factorioServerManager.RenameFile(directoryPath, fileName, newFileName)));
        }