BRANCH 4.2-DEV: made file detail dynamic rather than look at data in the
database