getting the content from filehandler