File input adapter class
Input adapter interface