You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: file.go
    path of file: ./repos/tania-core/backend/src/assets/server
    
    the code of the file until where you have to start completion: package server

import (
	"io"
	"log"
	"mime/multipart"
	"os"
	"strings"
)

// File used to handle file path and file operation.
// We use interface so we can swap it to other file storage easily.
type File interface {
	GetFile(src string) ([]byte, error)
	Upload(file *multipart.FileHeader, destPath string) error
}

type LocalFile struct{}

func (LocalFile) GetFile(srcPath string) ([]byte, error) {
	file, err := os.ReadFile(srcPath)

	return fil
    
func (LocalFile) Upload(file *multipart.FileHeader, destPath string) error {
	src, err := file.Open()
	if err != nil {
		return err
	}
	defer src.Close()

	// Create all directory if not exists
	s := strings.Split(destPath, "/")
	s = s[:len(s)-1]
	sJoin := strings.Join(s, "/")

	if _, err := os.Stat(sJoin); os.IsNotExist(err) {
		log.Print("Upload folder is missing. Creating folder...")

		if err := os.MkdirAll(sJoin, os.ModePerm); err != nil {
			log.Println("Can't create folder")

			return err
		}

		log.Print("Folder created in ", sJoin)
	}

	// Destination
	dst, err := os.Create(destPath)
	if err != nil {
		return err
	}
	defer dst.Close()

	// Copy
	if _, err = io.Copy(dst, src); err != nil {
		return err
	}

	return nil
}