adding filehandler class