Fix sample to run from disk.