title: java.io.FileNotFoundException when creating FileInputStream
body: <p>Getting an error when trying to open a FileInputStream to load Map from file with .ser extension. </p>
  
  <p><strong>Constructor where I create new File and invoke method that loads map from file:</strong> </p>
  
  <pre><code>protected DriveatorImpl() {
      accounts = new ConcurrentHashMap&lt;String, Client&gt;();
      db = new File("database.ser"); // oddly this does not create a file if one does not exist
      loadDB(); 
  }
  
  @SuppressWarnings("unchecked")
  private void loadDB() {
      try {
          fileIn = new FileInputStream(db);
          in = new ObjectInputStream(fileIn);
          accounts = (Map&lt;String, Client&gt;) in.readObject();
          in.close();
          fileIn.close();
      } catch (FileNotFoundException e) {
          e.printStackTrace();
      } catch (IOException e) {
          e.printStackTrace();
      } catch (ClassNotFoundException e) {
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p>I've tried to create file manually and put it in same package with class, but it does not help. What's going on?!</p>
  
  <p>Thank You!</p>