fix the library importing so that java File can be accessed