Optimally, if your sample files are small (say on the order of a few kilobytes, add them to the test resources directories and then you can convert this to a junit test. 
Somewhat less optimally, if they are big then it makes sense to add an example command as to how to get this file for testing (curl, wget, etc.)