Create an interface to recognize file types