This is a small bash script that selects a random file from current directory and optionally opens it with a program choice.
You can view and download it here.
This script is in public domain due to overly extreme simplicity.
Requires bash, grep, find, head, tail, date and echo.