As long as the file is on the classpath it doesn't matter where it is. For example, a
Maven application would put config files in src/main/resource. So you could create another source directory and put it there. Putting it at the root level of your project itself, in my opinion, is a bad idea.