Read a file using emulators

HiI want to read from a txt file using emulator in NetBeans. Can anyone plz tell me where should i put the txt file so that emulator can read it? I mean that at which location i should put the input file?
[218 byte] By [AqueelAhmada] at [2007-11-27 9:09:00]
# 1
res folder andgetResourcesAsStream(String) methodto access it
suparenoa at 2007-7-12 21:48:13 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
Thanks for reply. How can i write to the file?
AqueelAhmada at 2007-7-12 21:48:13 > top of Java-index,Java Mobility Forums,Java ME Technologies...