Quick tips for file system access in ruby