bugfix reading files from classpath