Added get_link() and removed file['k'] from process_file()

Added get_link() for generating public file download link, changes by
jlejeune