Commit title: Add functions to cary on file

Description:
    - creation of one function which read one line of one file
    - creation of one function which clean a string ("fgets" \n issue)