implement file display switches, closes #9