Add instance methods to RubyFile class