title: Upload a file located inside a jar
body: <p>I'm trying to upload a file located inside a jar. When I upload the file normally it works fine (which is expected because the file is on the file system) but when I package a jar with the file located inside it doesn't work.
  I've tried to use: </p>
  
  <blockquote>
    <p>this.getClass().getClassLoader().getResource("big_bird.txt") 
     //doesn't work</p>
    
    <p>new File("big_bird.txt".toURI()) 
     //doesn't work</p>
    
    <p>this.getClass().getClassLoader().getResourceAsStream("big_bird.txt") //kinda work as in I see the path but I can't get the file</p>
  </blockquote>
  
  <p>I need to be able to grab the file and upload it all while its inside the jar so can anyone give me some insight into how this can be done?</p>