Remove labels as an argument to the base detector class.

file should end with a newline character