title: Accessing files with spaces in filename from Java
body: <p>I want to access files in a directory which have spaces in filename from a java program but it doesnot access file.</p>
  
  <p>Scenario is i have names of file in a file . iread file names from that file and not able to open files with spaces in java .</p>
  
  <p>We are using File.exist function to check if file exist but it return false.</p>
  
  <p>i have tried several kind of formats to represent spaces llike "ab\ c"for file name ab c and ab%20c for same file.</p>
  
  <p>but nothing is helping.</p>