title: File contains a path separator.
body: <p>When I try to check the existence of a particular file, I get <code>java.lang.illegalArgumentException: File contains a path separator</code>  </p>
  
  <p>What is the right way to do this using getFileStreamPath(..)?</p>
  
  <pre><code>File file = getActivity().getFileStreamPath("mnt/sdcard/photo/1342147146535.jpg");
     if(file.exists()){
       Toast.makeText(getActivity(), "File exists in /mnt", Toast.LENGTH_SHORT);
  }
  </code></pre>
  
  <p>I also tried the following to replace the first line of the above codes. None of these worked.</p>
  
  <pre><code>File file = getActivity().getFileStreamPath("file:///mnt/sdcard/photo/aviary_1342147146535.jpg");
              File file = getActivity().getFileStreamPath("/mnt/sdcard/photo/1342147146535.jpg");
  //          File file = getActivity().getFileStreamPath("mnt/sdcard/photo/1342147146535.jpg");
  //          File file = getActivity().getFileStreamPath("file:///mnt/sdcard/photo/1342147146535.jpg");
  
              if(file.exists()){
              Toast.makeText(getActivity(), "File exists in /mnt", Toast.LENGTH_SHORT);}
              else {
                  Toast.makeText(getActivity(), "File NOT exists in /mnt", Toast.LENGTH_SHORT);}
  </code></pre>