Ignoring log and latex files.