Basic sample of readAndWrite files in app