worked on sqlite database stuff for files, had to install sqlite for .net 4.0 and add some settings to app.config to have it run properly. There is a problem with LocalFileDatabase.Add, it is returning a number when it should already contain the item.