Make ViewPagerFragment self containing with File IO