Ruby File Validator