check the file for usage