Added function to add a file to list of papers.