Testing file class in ruby to create new files in ruby script