title: Remove pattern from filenames
body: <p>how can I remove the word "myfile" in a list of filenames with this structure? </p>
  
  <pre><code>mywork_myfile_XSOP.txt
  mywork_myfile_ATTY.txt
  mywork_myfile_ATPY.txt
  </code></pre>
  
  <p>Desired_output:</p>
  
  <pre><code>mywork_XSOP.txt
  mywork_ATTY.txt
  mywork_ATPY.txt    
  </code></pre>