remove unused 'NamedState' file
move temp file resolutions to its own class with public clear method (fix #233)