filehelper: Less dependencies and added line iterator