add filename, allocation method