public static function encryptFile(string $plainTextFilename, string $key, ?string $destination = null): void
    {
        if (!file_exists($plainTextFilename)) {
            throw new InvalidArgumentException("Specified file to encrypt does not exist");
        }