check file and learn use the command "test"