Code for pinning files added.