get the file and check the output