title: java.nio.file.AccessDeniedException when reading a file
body: <p>I want to read file content using this code:</p>
  
  <pre><code>String content = new String(Files.readAllBytes(Paths.get("/sys/devices/virtual/dmi/id/chassis_serial")));
  </code></pre>
  
  <p>On some systems this file is not present or it's empty. How I catch this exception? I want to print message "No file" when there is no file and there is no value. </p>