all filehandler functions working