public static ArrayList<DVD> readTextDatabase(File file) {
        //-------------------------------------
        ArrayList<DVD> d = new ArrayList<>();
        FileReader fr;
        BufferedReader br;
        String line;
        DVD newDVD;

        System.out.println("File name and path: " + file.getName() + " " + file);

        try {
            fr = new FileReader(file);
        } catch (FileNotFoundException e) {
            System.err.println("No DVD Database ");
            return d;
        }
        try {
            br = new BufferedReader(fr);
            while ((line = br.readLine()) != null) {
                newDVD = DVD.createDVD(line);
                if (newDVD != null) {
                    d.add(newDVD);
                }
            }
        } catch (EOFException eof) {
            System.out.println("Finished reading file\n");
        } catch (IOException e) {
            System.err.println("Error during read\n" + e.toString());
        }
        try {
            fr.close();
        } catch (IOException e) {
            System.err.println("File not closed properly\n" + e.toString());
            System.exit(1);
        }
        return d;
    }