package Files; import java.io.FileInputStream; import java.io.IOException; import static Credentials.UserCredentials.getHomeRoot; public class ReadExcelFile { public void readExcel() throws IOException { // Create an instance of the class that reads Excel files // Read XLSX file FileInputStream file = new FileInputStream(getHomeRoot() + "Spritztagebuch.xlsx"); } }