test.txt is wrote in relative path