 			}
 		}
 
-		mValueStorageLoader = {
-			(_ fileurl: URL) -> Any? in
-			do {
-				let filepath: String
-				if let relpath = CNFilePath.relativePathUnderBaseURL(fullPath: fileurl, basePath: packdir){
-					filepath = relpath
-				} else {
-					CNLog(logLevel: .error, message: "Failed to get file path: \(fileurl.path)", atFunction: #function, inFile: #file)
-					filepath = "error.json"
-				}
-				NSLog("loader: package=\(packdir.path) file=\(filepath)")
-				return try KEResource.allocateValueStorage(packageDirectory: packdir, filePath: filepath)
-			} catch {
-				return nil
-			}
-		}
+		/* Assigne dummy loader (overwritten later) */
+		mValueStorageLoader = { (_ fileurl: URL) -> Any? in return nil }
 
 		mImageLoader = {
 			(_ fileurl: URL) -> Any? in

				return CNImage(contentsOfFile: fileurl.path)
			#endif
		}

		super.init(packageDirectory: packdir)

		/* Setup categories */
		addCategory(category: KEResource.ApplicationCategory,	loader: mFileLoader)

	private var mFileLoader:		LoaderFunc
	private var mValueStorageLoader:	LoaderFunc
	private var mImageLoader:		LoaderFunc
	private var mStorageTable:		Dictionary<String, CNValueStorage>

	public var fileLoader: LoaderFunc	{ get { return mFileLoader }}

