public int getIdFile(int idRoom) { if (maps.containsKey(idRoom)) { UserMap m = maps.get(idRoom); return m.getIdFile(); } return -1; }