added back functionality to the files page