make FileAdapter as a public class