Changes for file pinnging and accessibility, based on previous code
review.