Add reads a file from a disk and adds it to the storage.
RemoveAll removes all files according to the dir argument prefix.
func SetAsStorage(newStorage storage)
SetAsStorage changes temporary storage to newStorage.
TempDir creates a name for a new temp directory using a pattern argument.
File is a representation of a storage file with Read, Write, Close and Name methods identical to os.File.
Open returns tempstorage File object by name.
TempFile creates new empty file in the storage and returns it.