Added download and delete functionality of files.