NullPointerException if no file in content/ Path only import