import a file from a package java code example Example: java file package import import java.io.File;