public static synchronized void pushSessionForUpload(ScanSession session, boolean bypassFOD, boolean putInTable) {
        if (!initialized)
            init();
        
        boolean fileOutOfDate = 
                !fileLastModified.containsKey(session.getFile()) || 
                fileLastModified.get(session.getFile()) > session.getFile().lastModified() ||
                bypassFOD;
        
        if (fileOutOfDate) {
            fileLastModified.put(session.getFile(), session.getFile().lastModified());
            sessionsToUpload.offer(session);
            if (putInTable)
                UserInterfaceManager.getSmartFolderFrame().getConfigurationPanel().pushSessionToLog(session);
        }
        
    }