@SuppressWarnings("unused")
	public List<String> getFrameNames() {
		File dir = new File(this.framesDir);
		String[] filesArray = dir.list();
		List<String> files = new ArrayList<String>();
		long lenFirst = 0;
		for (String fileName : filesArray) {
			// only continue if jpg picture
			if (fileName.indexOf(".jpg") >= 0) {
				File f = new File(this.framesDir + fileName);
				// check for imcomplete image
				if ((lenFirst == 0) || (f.length() > (lenFirst / 2))) {
					// image okay so far
					try {
						BufferedImage i = ImageIO.read(f);
						files.add(this.framesDir + fileName);
					} catch (Exception ex) {
						// if problem reading don't add it
					}
				}
				if (lenFirst == 0) {
					lenFirst = f.length();
				}
			}
		}
		return files;
	}