ruby files and sample code