file read snippet for ruby-mode