public void searchAcc() throws IOException
{
    try
    {
    Scanner in = new Scanner(System.in);
    System.out.println("What account are you looking for?(Account Number)");
   
    int an = in.nextInt();
    String path = accDir+an+".txt";
    
    Account aA = new Account(an);
    System.out.println("-----------------------");
    System.out.println(path);
    
    System.out.println("Name = "+aA.getName()+", Address = "+aA.getAddress()+", Occupation = "+aA.getProfession());  
   } 
    catch (IOException e)
   {
       System.out.println("-----------------------");
       System.out.println("Doesn't exist");
       System.out.println("-----------------------");
   }
   finally
    {
        System.out.println("-----------------------");
        System.out.println("Doesn't exist");
        System.out.println("-----------------------");
    accMng();}
    }