added filehandler construction code
fixed controller confict
fiile handler testing