IO 패키지
→
java.io→
FileReader, FileWriter, FileInputStream, FileOutputStreamNIO 패키지
→
java.nio.file→ Path - represents the path to actual file or directory you are willing to work
→ Paths - Path의 유틸리티 클래스

sample code