file class to have sub classes by filetype