moving code to GenomicFileViews