Using NetBeans utility function to create file instances.