Check out example codes for "FileNotFoundException: properties/fortunes.txt (No such file or directory)". It will help you in understanding the concepts better.

Code Example 1

Project_Root
    src
    word.txt

Learn ReactJs, React Native from akashmittal.com