Displays file now with state, thanks to Snaplets

Code is ugly here but works