updated filer to programmatically determine name as well as store the manifest in filename.manifest