fixing errors caused by a .gitignore file inside /src/main/resources/files