Well, in the first post you said "I already read a lot of articles about working with files in pawn" but I no longer believe that this is actually a true statement since you have not shown any effort to read a file.
I actually found one tutorial that does nearly exactly what you're wanting to do. The thread is
here and you should look for the filereadtest() function that uses the "new file commands" (fopen, fgets, fclose).
If you are unable to get it working after implementing your code based on this example, attach your .sma file so that we can help you make it work.
__________________