Adding in ruby support for files