Added function to view files database