Add sample to work on a file