@SuppressWarnings("unused")
	private static void insertTestFileObjectsIntoDatabase() {
		
		File directory = new File("Pictures");
		File[] files = directory.listFiles();
		
		int i = 0;
		for(File file : files) {
			FileObject f = Metadata.getImageObject(file);
			f.setLocationObject(new LocationGPSObject("Japan"));
			f.setComment("Gutes bild");
			f.setFileName(file.getName());
			f.setDate("2012-05-19");
			//Just some random tags
			List<String> l = new ArrayList<String>();
			l.add("Snyggt");
			if(i == 0){
				l.add("Snyggt");
			}
			if(i == 3 || i == 4){
				l.add("Trevligt");
			}
			if(i % 2 == 0){
				l.add("Festligt");
			}
			f.setTags(l);
			
			try {
				f.setFilePath(file.getCanonicalPath());
				Log.getLogger().log(Level.INFO, "Found image:" + file.getCanonicalPath());
			} catch (IOException e) {
				Log.getLogger().log(Level.SEVERE, "IOException", e);
			}
			f.setCoverPath("blo");
		
			f.setAlbumName("Bra bilder");
		
			DatabaseHandler.getInstance().insertPicture(f);
			i++;
		}
	}