title: To Read the filepath and open that file using powershell
body: <p>I have a file 'one.txt' that contains one line of file path of another file like below.  </p>
  
  <pre><code>\\Myfilepath1\filepath\two.csv  
  </code></pre>
  
  <p>First, I need to open the file 'one.txt' and access the above the file path and then open the file whichever present in that file path to do some process. In this case it is 'two.csv'.
  I'm aware that we need to do something with the below code, but I'm unclear as how to completely construct it.   </p>
  
  <pre><code>$file = Get-ChildItem  -LiteralPath
  $stream = $file.OpenRead()
  ...
  $stream.Close()
  </code></pre>
  
  <p>Could you please help.</p>