String path = file.getParent();
LOGGER.debug("path: " + path);
LOGGER.debug("User logged id: " + userLoggedId);
//Retrieve userLogged friends files info
FileUtility fileUtility = new FileUtility();
JSONObject friendsInfos = null;
try {
friendsInfos = fileUtility.getFriends(userLoggedId);
} catch (SQLException e) {
LOGGER.error("SQL Exception while retrievig user's friends infos - " + e.getMessage());
} catch (JSONException e) {
LOGGER.error("JSON Exception while retrievig user's friends infos - " + e.getMessage());
}