public static List getImagesLocation(String ToolID) {
        
        Connection con = DbConnector.getConnection();
        Path path = DbConnector.getPath().getParent().resolve("images");
        ResultSet rs;
        ArrayList<File> files = new ArrayList<>();
        try (PreparedStatement stmtImage = con.prepareStatement("SELECT FileName FROM Images WHERE ToolID = ?");)
        {
            stmtImage.setString(1, ToolID);
            rs = stmtImage.executeQuery();
            while (rs.next()) {
                files.add(new File(path.toFile(),rs.getString(1)));
            }            
        } catch (SQLException ex) {
            ex.printStackTrace();
        }            
        return files;
    }