Add function to base64 encode a file and return result to clipboard