addFile and getFile