Split file identification into new class.