filehandler test working