implement navigation on sample files