I am writing a code in java to display text file in `JTextArea`. Can Anyone tell me what is wrong with this code. It is saying cannnot find symbol file.. 

```
FOpen.addActionListener(new ActionListener()
    {
        public void actionPerformed(ActionEvent ae)
        {
            final JFileChooser FileDialog = new JFileChooser();
            int ReturnValue=FileDialog.showOpenDialog(null);

            if(ReturnValue==JFileChooser.APPROVE_OPTION)
            {
                File file = FileDialog.getSelectedFile(); 
            }
            BufferedReader in = new BufferedReader(new FileReader(file));
            String line = in.readLine();    
            while(line!=null)
            {
                WritingArea.append(line+"\n");
                line=in.readLine();
            }
        }
    }); 

```